package hz.mobileproject.pda.entity;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * Created by KyuYi on 2017/3/2.
 * E-Mail:kyu_yi@sina.com
 * 功能：
 */

public class CardBean implements IPickerViewData {
    String id;
    String cardNo;
    private List<CardBean_t> sub_data;
    public CardBean(String id, String cardNo) {
        this.id = id;
        this.cardNo = cardNo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    @Override
    public String getPickerViewText() {
        return cardNo;
    }


    public List<CardBean_t> getSub_data() {
        return sub_data;
    }

    public void setSub_data(List<CardBean_t> sub_data) {
        this.sub_data = sub_data;
    }


    public static class CardBean_t   {
       public String id;
        public  String cardNo;

        public CardBean_t(String id, String cardNo) {
            this.id = id;
            this.cardNo = cardNo;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }



    }


}

